libxl: make set_memory_target work on domains with no videoram
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:36:30 +0000 (12:36 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:36:30 +0000 (12:36 +0100)
commit15fb9e3a4e7de1344e596fd46e31fae9656fe5a4
tree90a2a5c4954256d547e3af72b91f445a03be9f71
parent9b07822c1a8b18a75bdacc9c8bb3667cd994b329
libxl: make set_memory_target work on domains with no videoram

If a domain has no videoram (say, dom0), then treat the size as 0 and
continue, rather than just failing.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
tools/libxl/libxl.c